﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    主页
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%= Html.Encode(ViewData["Message"]) %></h2>
    <p>
        &nbsp;</p>
    <p>
        <ul>
            <li>
                <%= Html.ActionLink("登录为Admin", "Login",new{user="Admin"})%></li>
            <li>
                <%= Html.ActionLink("登录为User", "Login",new{user="User"})%></li>
            <li>
                <%= Html.ActionLink("登录为Guest", "Login", new { user = "Guest" })%></li>
        </ul>
    </p>
</asp:Content>
